﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;

namespace BL
{
    public class QuanLyUserBL
    {
        
        public static List<QuanLyUserDAL> LayDanhSachUser()
        {
            return QuanLyUserQuery.LayDanhSachUser();
        }

        public static  bool XoaUser(string tk)
        {
            return QuanLyUserQuery.XoaUser(tk);
        }

        public static List<QuanLyUserDAL> TimUser(string tk)
        {
            return QuanLyUserQuery.TimUser(tk);
        }

        public static bool ThemUserNguoiDung(string tk, string mk, string mq, string ht, string dc, string em, string sdt, float gttk)
        {
            return QuanLyUserQuery.ThemUserNguoiDung(tk, mk, mq, ht, dc, em, sdt, gttk);
        }

        public static bool ThemUserNguoiDungCuoi(string tk, int dtl, string gc)
        {
            return QuanLyUserQuery.ThemUserNguoiDungCuoi(tk, dtl, gc);
        }

        public static bool SuaUserNguoiDung(string tk, string mk, string mq, string ht, string dc, string em, string sdt, float gttk)
        {
            return QuanLyUserQuery.SuaUserNguoiDung(tk, mk, mq, ht, dc, em, sdt, gttk);
        }

        public static bool SuaUserNguoiDungCuoi(string tk, int dtl, string gc)
        {
            return QuanLyUserQuery.SuaUserNguoiDungCuoi(tk, dtl, gc);
        }
    }
}
